
<?php
    include "../logado/auxiliar.php";
    
//====  Administrador  ====      
    $novoCampeonato = 'none';
    //$cssmenu = 'block';
    //$mysql_num_rows($query_de_busca); 
    $amistosos = 'block';

//====  Tecnico  ====  
    $jogadores = 'block';
    $inscreverjogadores = 'none';
    
//====  Presidente  ====    
    $novoclube = 'none';
    $meuclube = 'none';
    $novocampo = 'none';
    $cadastrarjogadores = 'none';
        
	//$tipoPessoa
    if ($tipoPessoa == 1) {
        $novoCampeonato = 'block';
        //$cssmenu = 'none';
    }
    else
    if ($tipoPessoa == 2) {
        //$arb = 'none';
        //$cssmenu = 'none';
    }
	else
    if ($tipoPessoa == 3) {
        //$pres = 'none';
        $consulta = "SELECT DISTINCT * FROM gestaoClube WHERE idPessoa = '$id'"; // faz a consulta com o select
        $resultado = mysql_query($consulta, $con); // vai receber todo o resultado da consulta

        if ($resultado) {
            if (mysql_num_rows($resultado) == 1) {
                $meuclube = 'block';                
            }else{
                $novoclube = 'block';                
            }
        }
        
        $novocampo = 'block';
        $cadastrarjogadores = 'block';
        //$cssmenu = 'none';
    }
	else
    if ($tipoPessoa == 4) {
        $tec = 'none';
        $inscreverjogadores = 'block';
        
        //$cssmenu = 'none';
    }
	
	
?>

body {
    margin: 0px;
}

#logotipo {
    //background-color: #FF0000;
    padding-top: 40px;
    padding-left: 100px;
}

#novoCampeonato {
    display: <?php echo $novoCampeonato; ?>;
}

#amistosos {
    display: <?php echo $arb; ?>;
}

#novoclube {
    display: <?php echo $novoclube; ?>;
}

#meuclube {
    display: <?php echo $meuclube; ?>;
}

#novocampo {
    display: <?php echo $novocampo; ?>;
}

#cadastrarjogadores {
    display: <?php echo $cadastrarjogadores; ?>;
}

#inscreverjogadores {
    display: <?php echo $inscreverjogadores; ?>;
}






#sair {
    float: right;
    color: white;
    margin-right: 30px;
    margin-top: 15px;
}





//      #####################       MENU        #####################


#cssmenu {
    text-align: center;
    margin: 0px;
    padding: 0px;
}

#cssmenu ul {
    padding-left: 250px;
}

#cssmenu ul li,
#cssmenu ul li a {
    padding: 0;
    margin: 0;
}

#cssmenu,
#cssmenu ul,
#cssmenu ul li,
#cssmenu ul li a {
    width: auto;
    height: auto;
    line-height: 1;
    font-family: 'Source Sans Pro', sans-serif;
    font-weight: 500;
    font-size: 16px;
    color: #ffffff;
    -webkit-transition: all ease .3s;
    -o-transition: all ease .3s;
    -moz-transition: all ease .3s;
    -ms-transition: all ease .3s;
    transition: all ease .3s;
}
#cssmenu:before,
#cssmenu:after,
#cssmenu > ul:before,
#cssmenu > ul:after {
    content: '';
    display: table;
}
#cssmenu:after,
#cssmenu > ul:after {
    clear: both;
}
#cssmenu a {
    text-shadow: 0 1px 1px rgba(0, 0, 0, 0.2);
}
#cssmenu ul {
    background: #034cde;
    border-radius: 3px;
    border: 1px solid #2b4479;
    border: 1px solid #023bac;
    -webkit-box-shadow: 0 1px 2px rgba(2, 2, 2, 0.25), inset 0 1px 1px rgba(255, 255, 255, 0.15);
    -o-box-shadow: 0 1px 2px rgba(2, 2, 2, 0.25), inset 0 1px 1px rgba(255, 255, 255, 0.15);
    -moz-box-shadow: 0 1px 2px rgba(2, 2, 2, 0.25), inset 0 1px 1px rgba(255, 255, 255, 0.15);
    -ms-box-shadow: 0 1px 2px rgba(2, 2, 2, 0.25), inset 0 1px 1px rgba(255, 255, 255, 0.15);
    box-shadow: 0 1px 2px rgba(2, 2, 2, 0.25), inset 0 1px 1px rgba(255, 255, 255, 0.15);
}
#cssmenu ul > li {
    float: left;
    list-style: none;
}
#cssmenu ul > li > a {
    display: block;
    text-decoration: none;
    padding: 15px 44px;
    position: relative;
}
#cssmenu ul > li > a:hover {
    background: #023bac;
    -webkit-box-shadow: inset 0 0 1px #022a79;
    -o-box-shadow: inset 0 0 1px #022a79;
    -moz-box-shadow: inset 0 0 1px #022a79;
    -ms-box-shadow: inset 0 0 1px #022a79;
    box-shadow: inset 0 0 1px #022a79;
    -webkit-transition: all ease .3s;
    -o-transition: all ease .3s;
    -moz-transition: all ease .3s;
    -ms-transition: all ease .3s;
    transition: all ease .3s;
}
#cssmenu ul > li > a:hover:before {
    content: '';
    z-index: 2;
    position: absolute;
    border: 1px solid white;
    border-top: 0;
    border-bottom: 0;
    border-right: 0;
    width: 100%;
    height: 100%;
    top: 0;
    left: -1px;
    opacity: .2;
}
#cssmenu ul > li > a:hover:after {
    content: '';
    z-index: 2;
    position: absolute;
    border: 1px solid white;
    border-top: 0;
    border-bottom: 0;
    border-left: 0;
    width: 100%;
    height: 100%;
    top: 0;
    right: -1px;
    opacity: .2;
}
#cssmenu > ul > li > ul {
    opacity: 0;
    visibility: hidden;
    position: absolute;
    padding: 0;
}
#cssmenu > ul > li:hover > ul {
    opacity: 1;
    visibility: visible;
    position: absolute;
    border-radius: 0 0 3px 3px;
    -webkit-box-shadow: none;
    -o-box-shadow: none;
    -moz-box-shadow: none;
    -ms-box-shadow: none;
    box-shadow: none;
}
#cssmenu > ul > li > ul {
    width: 300px;
    position: absolute;
    width: auto;
    z-index: 2;
}
#cssmenu > ul > li > ul > li {
    float: none;
    position: relative;
    z-index: 2;
}
#cssmenu > ul > li > ul > li > ul {
    opacity: 0;
    visibility: hidden;
    position: absolute;
}
#cssmenu > ul > li > ul > li:hover > ul {
    opacity: 1;
    visibility: visible;
    position: absolute;
}
#cssmenu > ul > li > ul > li > ul {
    left: 300px;
    top: 1px;
    width: 300px;
}
#cssmenu > ul > li > ul > li > ul > li {
    float: none;
}
